Vue.component('xcform_control_value_autono', {
  template: '<el-form-item \
                :prop="value.fieldcode" \
                :label="value.fieldtitle"> \
                {{value.value?value.value:"[待生成]"}} \
              </el-form-item>',
  props: {
    value: {
      type: Object,
    },
    disabled: {
      type: Boolean,
    },
    fieldfulljson: {
      type: Array,
    },
    xcform_id: {
      type: Number,
    }
  },
  data() {
    var validateFunction = (rule, value, callback) => {
      var that = this;

      return callback();
    };
    return {
      control: {
        disabled: false,
        rules: [{
          validator: validateFunction,
          trigger: 'blur'
        }]
      }
    };
  },
  created() {
    var that = this;
  },
  mounted() {
    var that = this;

  },
  methods: {}
});